<template>
	<div class="fullscreen cursor-pointer" title="切换全屏">
		<i :class="['iconfont', isFullscreen ? 'iconminimize1' : 'iconbx-expand']" class="toolBar-icon" @click="toggle"></i>
	</div>
</template>

<script setup lang="ts">
import { useFullscreen } from "@vueuse/core";
const { toggle, isFullscreen } = useFullscreen();
</script>
